package lpg;

class MacroSymbol extends Symbol
{
    MacroSymbol(String name, int poolIndex)
    {
        super(name, poolIndex);
    }

    int block()
    {
        return block;
    }

    void setBlock(int block)
    {
        this.block = block;
    }

    boolean isInUse()
    {
        return inUse;
    }

    void markInUse()
    {
        inUse = true;
    }

    void markNotInUse()
    {
        inUse = false;
    }

    private int block = 0;
    private boolean inUse = false;

}
